/*
 * @Date: 2024-12-13 14:35:46
 * @Author: ljc
 * @LastEditors: g05047
 * @LastEditTime: 2025-02-26 16:20:15
 * @Description: 饼状图初始数据配置
 */
export default {
  // 面板名称
  label: '',
  // 描述
  desc: '',
  echarts: {
    legend: {
      orient: 'vertical',
      left: 'left',
      show: true,
    },
    tooltip: {
      trigger: 'item'
    },
    toolbox: {
      show: false
    },
    series: {
      name: undefined,
      type: 'pie',
      roseType: '',
      emphasis: {
      },
      itemStyle: {
        borderRadius: 0,
        shadowBlur: 10,
        shadowOffsetX: 0,
        shadowColor: 'rgba(0, 0, 0, 0.5)'
      },
      pie: {
        selectedMode: '',
        clockwise: true,
        selectedOffset: 0,
        radiusN: 40,
        radiusW: 60,
        centerH: 50,
        centerV: 50,
        startAngle: 0,
        endAngle: 360,
        padAngle: 0,
      },
      label: {
        color: '#333',
        backgroundColor: '#fff',
        position: undefined,
        show: true,
        fontWeight: 'normal',
        fontSize: 14,
        formatter: undefined
      },
    }
  },
  // 默认值
  defaultValue: [],
  // 数据集
  dataList: [],
  // 饼状图颜色
  color: [],
  // 饼状图配置数组 {path:xxx,params:{}}
  pathList: [],
  // 饼状图点击事件
  onClick: '',
}